package com.mm;
import com.mm.service.UserService;
import com.spring.MmApplicationContext;
import com.spring.Config;

/**
 * @author wdx
 * @date 2021年09月03日 11:04
 */
public class Test {
    public static void main(String[] args) {
        MmApplicationContext applicationContext = new MmApplicationContext(Config.class);
        UserService userService = (UserService) applicationContext.getBean("userService");
        System.out.println(userService.getName());
    }
}
